Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLStyleElement

Extends HTMLElement. Implements LinkStyle.

The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user.

Properties
DOMString
media
The media, type and scoped IDL attributes must reflect the respective content attributes of the same name.
boolean
scoped
The media, type and scoped IDL attributes must reflect the respective content attributes of the same name.
StyleSheet?
sheet
The sheet attribute must return the associated CSS style sheet for the node or null if there is no associated CSS style sheet.
DOMString
type
The media, type and scoped IDL attributes must reflect the respective content attributes of the same name.